org.eclipse.vtp.framework.interactions.core.services
Class ContentManager

java.lang.Object
  extended by org.eclipse.vtp.framework.interactions.core.services.ContentManager
All Implemented Interfaces:
IContentFactory, IContentTypeRegistry

public class ContentManager
extends java.lang.Object
implements IContentTypeRegistry, IContentFactory

Implementation of IContentTypeRegistry and IContentFactory.

Author:
Lonnie Pryor

Constructor Summary
ContentManager(org.eclipse.core.runtime.IExtensionRegistry registry)
          Creates a new ContentManager.
 
Method Summary
 IContentType getContentType(java.lang.String contentTypeID)
           
 java.lang.String[] getContentTypeIDs()
           
 Content loadContent(org.w3c.dom.Element configuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentManager

public ContentManager(org.eclipse.core.runtime.IExtensionRegistry registry)
Creates a new ContentManager.

Parameters:
registry - The extension registry to load from.
Method Detail

getContentTypeIDs

public java.lang.String[] getContentTypeIDs()
Specified by:
getContentTypeIDs in interface IContentTypeRegistry

getContentType

public IContentType getContentType(java.lang.String contentTypeID)
Specified by:
getContentType in interface IContentTypeRegistry

loadContent

public Content loadContent(org.w3c.dom.Element configuration)
Specified by:
loadContent in interface IContentFactory